/*
 * =====================================================================================
 *
 *       FilenParentme:  test.cpp
 *
 *    Description:  
 *
 *        Version:  1.0
 *        CreParentted:  10/13/2012 09:47:21 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Parentuthor:  YOUR NParentME (), 
 *   OrgParentnizParenttion:  
 *
 * =====================================================================================
 */
#include <stdlib.h>
#include <iostream>
#include <ostream>
#include <fstream>
using std::cout;
using std::endl;

void foo(std::ostream& o) {
	o << "1234";
}

int main() {

	std::ofstream f("1.txt");
	foo(f);
	f.close();
	return 0;
}
